home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1993 July / InfoMagic USENET CD-ROM July 1993.ISO / sources / misc / volume19 / calentool / patch01 next >
Encoding:
Text File  |  1991-05-16  |  33.6 KB  |  1,012 lines

  1. Newsgroups: comp.sources.misc
  2. From: Bill Randle <billr@saab.cna.tek.com>
  3. Subject:  v19i081:  calentool - day/week/month/year-at-a-glance Sunview tool, Patch01
  4. Message-ID: <1991May17.031832.28241@sparky.IMD.Sterling.COM>
  5. X-Md4-Signature: bbd48f3185aa2eca3e1410015b9e3c44
  6. Date: Fri, 17 May 1991 03:18:32 GMT
  7. Approved: kent@sparky.imd.sterling.com
  8.  
  9. Submitted-by: Bill Randle <billr@saab.cna.tek.com>
  10. Posting-number: Volume 19, Issue 81
  11. Archive-name: calentool/patch01
  12. Patch-To: calentool: Volume 17, Issue 82-104
  13.  
  14. Here is patch 1 to the calentool 2.2 source that was posted to this newsgroup.
  15. This patch fixes several bugs that have been reported, but does not add
  16. any new features.  See the file "Patches2_2" for details.  Use "patch -p"
  17. to apply the diffs to preserve the directory info for the dates files.
  18.  
  19. #! /bin/sh
  20. # This is a shell archive.  Remove anything before this line, then unpack
  21. # it by saving it into a file and typing "sh file".  To overwrite existing
  22. # files, type "sh file -c".  You can also feed this as standard input via
  23. # unshar, or by typing "sh <file", e.g..  If this archive is complete, you
  24. # will see the following message at the end:
  25. #        "End of shell archive."
  26. # Contents:  patches01
  27. # Wrapped by billr@saab on Mon May 13 09:38:50 1991
  28. PATH=/bin:/usr/bin:/usr/ucb ; export PATH
  29. if test -f 'patches01' -a "${1}" != "-c" ; then 
  30.   echo shar: Will not clobber existing file \"'patches01'\"
  31. else
  32. echo shar: Extracting \"'patches01'\" \(31456 characters\)
  33. sed "s/^X//" >'patches01' <<'END_OF_FILE'
  34. X*** patchlevel.h.orig    Fri Feb  1 12:20:38 1991
  35. X--- patchlevel.h    Mon May 13 09:18:21 1991
  36. X***************
  37. X*** 1,5 ****
  38. X  /*
  39. X!  * $Header: patchlevel.h,v 2.8 91/02/01 12:20:37 billr Exp $
  40. X   */
  41. X  /*
  42. X   * patchlevel.h - current patchlevel of the current version
  43. X--- 1,5 ----
  44. X  /*
  45. X!  * $Header: patchlevel.h,v 2.9 91/05/13 09:18:20 billr Exp $
  46. X   */
  47. X  /*
  48. X   * patchlevel.h - current patchlevel of the current version
  49. X***************
  50. X*** 6,9 ****
  51. X   * of the calentool program
  52. X   */
  53. X  
  54. X! #define PATCHLEVEL    0
  55. X--- 6,9 ----
  56. X   * of the calentool program
  57. X   */
  58. X  
  59. X! #define PATCHLEVEL    1
  60. X*** /dev/null    Mon May 13 09:20:00 1991
  61. X--- Patches2_2    Mon May 13 09:13:54 1991
  62. X***************
  63. X*** 0 ****
  64. X--- 1,40 ----
  65. X+ # $Header: Patches2_2,v 2.0 91/05/13 09:13:44 billr Exp $
  66. X+ 
  67. X+ # Patchlevel 1 of Version 2.2
  68. X+     ===========
  69. X+     Bugs Fixed
  70. X+     ===========
  71. X+ 
  72. X+ - Incorrect dates in the dates/world file (jk@computer-science.manchester.ac.uk)
  73. X+ - Printer selections from the menu use the wrong output format (brooks@ge-dab.ge.com)
  74. X+ - Printer support off by default
  75. X+ - Use TIME_OUT from ct.h (was being overriden elsewhere)
  76. X+ - Week PS printout overlaps the times on the left edge (brooks@ge-dab.ge.com)
  77. X+ - Incorrect dates in the dates/celtic file (slocum@orion.ssdc.honeywell.COM))
  78. X+ - Year display sometimes hangs (dougd@uts.amdahl.COM)
  79. X+ - Several typos in the man page (lms%tdjdo.tdat@suntzu.West.Sun.COM)
  80. X+ - dates/lives and dates/events not listed in DATEFILES entry in Makefile
  81. X+   (mnolan@lpl.arizona.edu)
  82. X+ - Multiple copies of appointment reminders appear when editing a day
  83. X+   page other than today (paulb@harley.tti.COM)
  84. X+ - Incorrect date for KAL 007 crash (paulb@harley.tti.COM)
  85. X+ - Crash with segmentation fault when adding an appointment to current
  86. X+   day (paulb@harley.tti.COM)
  87. X+ - Crash when typing in very long appointment entries (dougd@uts.amdahl.COM)
  88. X+ - Appointments lasting longer than the length of the day page are
  89. X+   silently truncated (brooks@sundance7.dab.ge.COM)
  90. X+ - ASCII week printout (-PW) only printed <weeklength> days when it
  91. X+   should probably always print 7 days (brooks@sundance7.dab.ge.COM)
  92. X+ 
  93. X+     ====================
  94. X+     Feature Enhancements
  95. X+     ====================
  96. X+ 
  97. X+ None.
  98. X+ 
  99. X+     ==========
  100. X+     Known Bugs
  101. X+     ==========
  102. X+ 
  103. X+ * Doesn't compile "out of the box" on a Sun 2 (SunOS 4.0.3) - reason
  104. X+   unknown.
  105. X*** calentool.1.orig    Wed Mar 27 17:01:40 1991
  106. X--- calentool.1    Mon May 13 09:17:51 1991
  107. X***************
  108. X*** 1,6 ****
  109. X! .\" $Header: calentool.1,v 2.8 91/03/27 17:01:33 billr Exp $
  110. X  .\"
  111. X! .TH CALENTOOL 1 "7 March 1991"
  112. X  .ds Ps P\s-2OST\s+2S\s-2CRIPT\s+2\*R
  113. X  .SH NAME
  114. X  calentool - day/week/month/year-at-a-glance SunView tool (the Hacker's Almanac)
  115. X--- 1,6 ----
  116. X! .\" $Header: calentool.1,v 2.9 91/05/13 09:17:46 billr Exp $
  117. X  .\"
  118. X! .TH CALENTOOL 1 "10 May 1991"
  119. X  .ds Ps P\s-2OST\s+2S\s-2CRIPT\s+2\*R
  120. X  .SH NAME
  121. X  calentool - day/week/month/year-at-a-glance SunView tool (the Hacker's Almanac)
  122. X***************
  123. X*** 207,213 ****
  124. X  .B \-e
  125. X  or
  126. X  .B \-E
  127. X! options are used, the date format is DD/MO and DD/MO/YY.
  128. X  .TP
  129. X  relative dates:
  130. X  +n (n days from now, for example +1 for tomorrow)
  131. X--- 207,213 ----
  132. X  .B \-e
  133. X  or
  134. X  .B \-E
  135. X! options are used, the date format is DD/MO and DD/MO/YY.)
  136. X  .TP
  137. X  relative dates:
  138. X  +n (n days from now, for example +1 for tomorrow)
  139. X***************
  140. X*** 340,346 ****
  141. X  .BI \-N " int"
  142. X  Set the number of noteslots displayed to
  143. X  .I int
  144. X! slots.  This is useful if the you increase the number of timeslots used
  145. X  and want to keep the overall display size down.
  146. X  .TP
  147. X  .B \-o
  148. X--- 340,346 ----
  149. X  .BI \-N " int"
  150. X  Set the number of noteslots displayed to
  151. X  .I int
  152. X! slots.  This is useful if you increase the number of timeslots used
  153. X  and want to keep the overall display size down.
  154. X  .TP
  155. X  .B \-o
  156. X***************
  157. X*** 377,383 ****
  158. X  shows all notes, while
  159. X  .B \-P
  160. X  does not show notes not marked for display in the month/year displays.
  161. X! No printout is provide of the current day's appointments, if there
  162. X  are none.
  163. X  By default, the output generated by the -[pP] command is
  164. X  in ASCII, except for month printouts where the default is \*(Ps.
  165. X--- 377,383 ----
  166. X  shows all notes, while
  167. X  .B \-P
  168. X  does not show notes not marked for display in the month/year displays.
  169. X! No printout is provided of the current day's appointments, if there
  170. X  are none.
  171. X  By default, the output generated by the -[pP] command is
  172. X  in ASCII, except for month printouts where the default is \*(Ps.
  173. X***************
  174. X*** 406,412 ****
  175. X  hour (1 to 24).  The end hour must be greater than the start hour.
  176. X  If the start stop span is large, you should change the default font
  177. X  to a smaller size font.  This can be done with the
  178. X! .B \-Wi
  179. X  SunView window option or by setting it explicity in the defaults file
  180. X  (see below).
  181. X  .TP
  182. X--- 406,412 ----
  183. X  hour (1 to 24).  The end hour must be greater than the start hour.
  184. X  If the start stop span is large, you should change the default font
  185. X  to a smaller size font.  This can be done with the
  186. X! .B \-Wt
  187. X  SunView window option or by setting it explicity in the defaults file
  188. X  (see below).
  189. X  .TP
  190. X***************
  191. X*** 467,473 ****
  192. X  .B \-7
  193. X  Display all seven days in the week display.  This is useful if the installer
  194. X  has set the default value to 5 or 6 days.
  195. X! Sundat through Saturday is the standard format.  Using the
  196. X  .B \-e
  197. X  or
  198. X  .B \-E
  199. X--- 467,473 ----
  200. X  .B \-7
  201. X  Display all seven days in the week display.  This is useful if the installer
  202. X  has set the default value to 5 or 6 days.
  203. X! Sunday through Saturday is the standard format.  Using the
  204. X  .B \-e
  205. X  or
  206. X  .B \-E
  207. X***************
  208. X*** 514,520 ****
  209. X  lines to show all scheduled time at a glance.  As the
  210. X  .B More
  211. X  button is toggled, the arrows change state such that the new active
  212. X! appointment has arrows drawna s solid lines and the previous appointment's
  213. X  arrows (if any) are now dashed.
  214. X  If appointment text is too wide for the
  215. X  day page, scroll buttons appear to the right of the text and may be used to
  216. X--- 514,520 ----
  217. X  lines to show all scheduled time at a glance.  As the
  218. X  .B More
  219. X  button is toggled, the arrows change state such that the new active
  220. X! appointment has arrows drawn as solid lines and the previous appointment's
  221. X  arrows (if any) are now dashed.
  222. X  If appointment text is too wide for the
  223. X  day page, scroll buttons appear to the right of the text and may be used to
  224. X***************
  225. X*** 634,644 ****
  226. X  a vertical indicator arrow appears and follows the cursor.  Drag the cursor
  227. X  to the location of the final time slot and release the button.
  228. X  The SunView L6 and L8 keys (COPY/PASTE or PUT/GET) may be also be
  229. X! used to paste the text from the shelf to an active appoinment slot
  230. X  or from an appointment slot to the shelf.  When inserting a string
  231. X  in calentool using PASTE the slot must be active first (i.e. the
  232. X  .I mouse-LB
  233. X! must have been pressed first.
  234. X  .SS "Changing an appointment"
  235. X  Selecting the
  236. X  .I mouse-RB
  237. X--- 634,644 ----
  238. X  a vertical indicator arrow appears and follows the cursor.  Drag the cursor
  239. X  to the location of the final time slot and release the button.
  240. X  The SunView L6 and L8 keys (COPY/PASTE or PUT/GET) may be also be
  241. X! used to paste the text from the shelf to an active appointment slot
  242. X  or from an appointment slot to the shelf.  When inserting a string
  243. X  in calentool using PASTE the slot must be active first (i.e. the
  244. X  .I mouse-LB
  245. X! must have been pressed first).
  246. X  .SS "Changing an appointment"
  247. X  Selecting the
  248. X  .I mouse-RB
  249. X***************
  250. X*** 937,943 ****
  251. X  movies
  252. X  Historical events pertaining to motion pictures
  253. X  .TP
  254. X! movies
  255. X  Historical events pertaining to the music world (both popular and traditional)
  256. X  .TP
  257. X  radio
  258. X--- 937,943 ----
  259. X  movies
  260. X  Historical events pertaining to motion pictures
  261. X  .TP
  262. X! music
  263. X  Historical events pertaining to the music world (both popular and traditional)
  264. X  .TP
  265. X  radio
  266. X*** calentool.c.orig    Wed Mar 27 16:45:05 1991
  267. X--- calentool.c    Mon May 13 09:17:58 1991
  268. X***************
  269. X*** 1,5 ****
  270. X  /*
  271. X!  * $Header: calentool.c,v 2.5 91/03/27 16:44:59 billr Exp $
  272. X   */
  273. X  /*
  274. X   * calentool.c
  275. X--- 1,5 ----
  276. X  /*
  277. X!  * $Header: calentool.c,v 2.6 91/05/13 09:17:52 billr Exp $
  278. X   */
  279. X  /*
  280. X   * calentool.c
  281. X***************
  282. X*** 762,769 ****
  283. X  #endif
  284. X      /* only check appointments every TIME_OUT minutes */
  285. X      timeout_cntr += update_interval;
  286. X- #undef TIME_OUT
  287. X- #define TIME_OUT 1
  288. X      if (timeout_cntr/60 < TIME_OUT)
  289. X          return(NOTIFY_DONE);
  290. X      timeout_cntr = 0;
  291. X--- 762,767 ----
  292. X*** common.c.orig    Wed Mar 27 16:45:11 1991
  293. X--- common.c    Mon May 13 09:18:03 1991
  294. X***************
  295. X*** 1,5 ****
  296. X  /*
  297. X!  * $Header: common.c,v 1.2 91/03/27 16:45:05 billr Exp $
  298. X   */
  299. X  /*
  300. X   * common.c
  301. X--- 1,5 ----
  302. X  /*
  303. X!  * $Header: common.c,v 1.3 91/05/13 09:17:59 billr Exp $
  304. X   */
  305. X  /*
  306. X   * common.c
  307. X***************
  308. X*** 110,118 ****
  309. X      /* make sure it doesn't extend too far and truncate if neccessary */
  310. X      if (slotno >= n_tslots)
  311. X          nappt->arrows = 0;    /* force notes to have no arrows */
  312. X!     else if ((slotno + nappt->arrows) >= n_tslots)
  313. X!         nappt->arrows = n_tslots - slotno - 1;    /* truncate */
  314. X!     n_arrows = nappt->arrows;
  315. X      if (nappt->flags & DELETED) {
  316. X          /* look for matching non-deleted appt in list */
  317. X          for (optr=slots[slotno].first;optr && !found;optr=optr->next)
  318. X--- 110,119 ----
  319. X      /* make sure it doesn't extend too far and truncate if neccessary */
  320. X      if (slotno >= n_tslots)
  321. X          nappt->arrows = 0;    /* force notes to have no arrows */
  322. X!     if ((slotno + nappt->arrows) >= n_tslots)
  323. X!         n_arrows = n_tslots - slotno - 1;    /* truncate */
  324. X!     else
  325. X!         n_arrows = nappt->arrows;
  326. X      if (nappt->flags & DELETED) {
  327. X          /* look for matching non-deleted appt in list */
  328. X          for (optr=slots[slotno].first;optr && !found;optr=optr->next)
  329. X***************
  330. X*** 514,521 ****
  331. X      struct tm save;
  332. X      int runl;
  333. X  
  334. X-     save = current;
  335. X      fix_current_day();
  336. X      /* set current to match dow of repeated appt */
  337. X      if (appt->flags & EVERY_MON_FRI) {
  338. X          if (current.tm_wday == SUN)
  339. X--- 515,522 ----
  340. X      struct tm save;
  341. X      int runl;
  342. X  
  343. X      fix_current_day();
  344. X+     save = current;
  345. X      /* set current to match dow of repeated appt */
  346. X      if (appt->flags & EVERY_MON_FRI) {
  347. X          if (current.tm_wday == SUN)
  348. X***************
  349. X*** 658,668 ****
  350. X      struct appt_entry *aptr;
  351. X      struct tm Saveday;
  352. X      char *getenv();
  353. X-     static time_t lastmod = (time_t)0;
  354. X-     struct stat stbuf;
  355. X  #ifndef CALENCHECK
  356. X      char msgfile[128];
  357. X      int some_appts = 0;    /* no appointments today */
  358. X      static int icon_in_use = STD_ICON;
  359. X      Icon cur_icon;
  360. X      FILE *msgf;
  361. X--- 659,668 ----
  362. X      struct appt_entry *aptr;
  363. X      struct tm Saveday;
  364. X      char *getenv();
  365. X  #ifndef CALENCHECK
  366. X      char msgfile[128];
  367. X      int some_appts = 0;    /* no appointments today */
  368. X+     int read_file = 0;    /* reread appts file when true */
  369. X      static int icon_in_use = STD_ICON;
  370. X      Icon cur_icon;
  371. X      FILE *msgf;
  372. X***************
  373. X*** 679,685 ****
  374. X  
  375. X      sno = echoed_sno;    /* assume no console echo */
  376. X      get_today();
  377. X-     stat(apts_pathname, &stbuf);
  378. X      Saveday = current;
  379. X      /*
  380. X       * Check to see if we're not displaying today.
  381. X--- 679,684 ----
  382. X***************
  383. X*** 691,697 ****
  384. X      if ((int)window_get(frame, FRAME_CLOSED) && ymd_compare(closedate, today) != 0)
  385. X          new_day++;
  386. X  #endif
  387. X!     if (ymd_compare(current, today) != 0 || new_day) {
  388. X          if (day_is_open)
  389. X              close_day();
  390. X          current = today;
  391. X--- 690,696 ----
  392. X      if ((int)window_get(frame, FRAME_CLOSED) && ymd_compare(closedate, today) != 0)
  393. X          new_day++;
  394. X  #endif
  395. X!     if (ymd_compare(current, today) != 0 || new_day || !day_is_open) {
  396. X          if (day_is_open)
  397. X              close_day();
  398. X          current = today;
  399. X***************
  400. X*** 698,715 ****
  401. X  #ifdef CALENCHECK
  402. X          new_day++;
  403. X  #endif
  404. X-     }
  405. X-     if (stbuf.st_mtime > lastmod) {
  406. X-         lastmod = stbuf.st_mtime;
  407. X-         day_is_open = FALSE;    /* force reading appts file */
  408. X-         sno = echoed_sno = -1;
  409. X-     }
  410. X-     if (day_is_open) {
  411. X-         /* slot info is current */
  412. X- #ifndef CALENCHECK
  413. X-         unlock_cursors();
  414. X- #endif
  415. X-     } else {
  416. X  #ifdef CALENCHECK
  417. X          (void)get_day_appts();
  418. X  #else
  419. X--- 697,702 ----
  420. X***************
  421. X*** 718,728 ****
  422. X          err2console(TRUE);
  423. X          (void)get_day_appts();
  424. X          err2console(FALSE);
  425. X  #endif
  426. X-         day_is_open = TRUE;
  427. X          read_only = save_ro;
  428. X          if (new_day)
  429. X              sno = echoed_sno = -1;
  430. X      }
  431. X  
  432. X      slotno = (today.tm_hour - start_hour)*2 + today.tm_min/30;
  433. X--- 705,720 ----
  434. X          err2console(TRUE);
  435. X          (void)get_day_appts();
  436. X          err2console(FALSE);
  437. X+         read_file++;
  438. X  #endif
  439. X          read_only = save_ro;
  440. X          if (new_day)
  441. X              sno = echoed_sno = -1;
  442. X+     } else {
  443. X+         /* slot info is current */
  444. X+ #ifndef CALENCHECK
  445. X+         unlock_cursors();
  446. X+ #endif
  447. X      }
  448. X  
  449. X      slotno = (today.tm_hour - start_hour)*2 + today.tm_min/30;
  450. X***************
  451. X*** 856,861 ****
  452. X--- 848,854 ----
  453. X      if (new_day && (int)window_get(frame, FRAME_CLOSED)) {
  454. X          /* update times so that it opens on today */
  455. X          closedate = olddate = Saveday = today;
  456. X+         read_file++;
  457. X          /* update date field of the icons */
  458. X          sprintf(datestr_day, "%d", today.tm_mday);
  459. X          /* replace the date */
  460. X***************
  461. X*** 899,908 ****
  462. X      }
  463. X  #endif
  464. X  #ifndef CALENCHECK
  465. X!     current = Saveday;
  466. X!     err2console(TRUE);
  467. X!     (void)get_day_appts();
  468. X!     err2console(FALSE);
  469. X      if (locked == 2)
  470. X          unlock_cursors();
  471. X  #endif
  472. X--- 892,904 ----
  473. X      }
  474. X  #endif
  475. X  #ifndef CALENCHECK
  476. X!     if (read_file) {
  477. X!         current = Saveday;
  478. X!         err2console(TRUE);
  479. X!         (void)get_day_appts();
  480. X!         err2console(FALSE);
  481. X!         day_is_open = TRUE;
  482. X!     }
  483. X      if (locked == 2)
  484. X          unlock_cursors();
  485. X  #endif
  486. X*** ct.h.orig    Mon May 13 09:20:54 1991
  487. X--- ct.h    Mon May 13 09:18:06 1991
  488. X***************
  489. X*** 1,5 ****
  490. X  /*
  491. X!  * $Header: ct.h,v 2.5 91/03/27 16:45:12 billr Exp $
  492. X   */
  493. X  /*
  494. X   * ct.h - header file for calentool
  495. X--- 1,5 ----
  496. X  /*
  497. X!  * $Header: ct.h,v 2.6 91/05/13 09:18:04 billr Exp $
  498. X   */
  499. X  /*
  500. X   * ct.h - header file for calentool
  501. X***************
  502. X*** 27,33 ****
  503. X   * define some or all of these here or in the Makefile. Combined,
  504. X   * they save ~100K bytes for a statically linked object.
  505. X   */
  506. X! #define NO_PRINTER        /* exclude printer support code */
  507. X  /*#define NO_HOLIDAYS        /* exclude holiday checking code */
  508. X  /*#define NO_SUN_MOON        /* exclude Sun/Moon data frames */
  509. X  
  510. X--- 27,33 ----
  511. X   * define some or all of these here or in the Makefile. Combined,
  512. X   * they save ~100K bytes for a statically linked object.
  513. X   */
  514. X! /*#define NO_PRINTER        /* exclude printer support code */
  515. X  /*#define NO_HOLIDAYS        /* exclude holiday checking code */
  516. X  /*#define NO_SUN_MOON        /* exclude Sun/Moon data frames */
  517. X  
  518. X*** devent.c.orig    Wed Mar 27 16:45:28 1991
  519. X--- devent.c    Mon May 13 09:18:12 1991
  520. X***************
  521. X*** 1,5 ****
  522. X  /*
  523. X!  * $Header: devent.c,v 2.8 91/03/27 16:45:23 billr Exp $
  524. X   */
  525. X  /*
  526. X   * devent.c
  527. X--- 1,5 ----
  528. X  /*
  529. X!  * $Header: devent.c,v 2.9 91/05/13 09:18:07 billr Exp $
  530. X   */
  531. X  /*
  532. X   * devent.c
  533. X***************
  534. X*** 125,131 ****
  535. X              /* in a different slot than we were before */
  536. X              if (slots[box_index].active)
  537. X                  /* display cursor at new location */
  538. X!               text_cursor(box_index);
  539. X            }
  540. X          if (found_flag == FOUND_SLOT && event_id(event) == KEY_LEFT(8)
  541. X          && event_is_up(event)) {
  542. X--- 125,131 ----
  543. X              /* in a different slot than we were before */
  544. X              if (slots[box_index].active)
  545. X                  /* display cursor at new location */
  546. X!                 text_cursor(box_index);
  547. X            }
  548. X          if (found_flag == FOUND_SLOT && event_id(event) == KEY_LEFT(8)
  549. X          && event_is_up(event)) {
  550. X***************
  551. X*** 441,446 ****
  552. X--- 441,448 ----
  553. X  {
  554. X      int    strl, x;
  555. X  
  556. X+     if (slots[slotno].cur_appt == NULL)
  557. X+         return;
  558. X      strl = strlen(&slots[slotno].cur_appt->str[slots[slotno].cur_appt->sindex]);
  559. X      if (strl <= (day_message_size-1)) {
  560. X          x = slots[slotno].slot_pos.left + strl * font->pf_defaultsize.x;
  561. X*** notify.c.orig    Wed Mar 27 16:46:08 1991
  562. X--- notify.c    Mon May 13 09:18:19 1991
  563. X***************
  564. X*** 1,5 ****
  565. X  /*
  566. X!  * $Header: notify.c,v 2.4 91/03/27 16:46:01 billr Exp $
  567. X   */
  568. X  /*
  569. X   * notify.c
  570. X--- 1,5 ----
  571. X  /*
  572. X!  * $Header: notify.c,v 2.5 91/05/13 09:18:13 billr Exp $
  573. X   */
  574. X  /*
  575. X   * notify.c
  576. X***************
  577. X*** 1416,1422 ****
  578. X  #endif
  579. X          value = (int) menu_show(print_menu, panel, event, 0);
  580. X          if (value > 0) {
  581. X!             panel_set(item, PANEL_CLIENT_DATA, value, 0);
  582. X              if (value == 3) {
  583. X                  /* change printer */
  584. X                  panel_set_value(prfile_pi, print_to_file);
  585. X--- 1416,1422 ----
  586. X  #endif
  587. X          value = (int) menu_show(print_menu, panel, event, 0);
  588. X          if (value > 0) {
  589. X!             panel_set(item, PANEL_CLIENT_DATA, value+1, 0);
  590. X              if (value == 3) {
  591. X                  /* change printer */
  592. X                  panel_set_value(prfile_pi, print_to_file);
  593. X*** pcaldw.c.orig    Wed Mar 27 16:46:20 1991
  594. X--- pcaldw.c    Mon May 13 09:18:23 1991
  595. X***************
  596. X*** 1,5 ****
  597. X  /*
  598. X!  * $Header: pcaldw.c,v 1.2 91/03/27 16:46:17 billr Exp $
  599. X   */
  600. X  /*
  601. X   * pcaldw - print pretty PostScript image of a day or week calendar
  602. X--- 1,5 ----
  603. X  /*
  604. X!  * $Header: pcaldw.c,v 1.3 91/05/13 09:18:22 billr Exp $
  605. X   */
  606. X  /*
  607. X   * pcaldw - print pretty PostScript image of a day or week calendar
  608. X***************
  609. X*** 244,250 ****
  610. X      "{",
  611. X      "  90 rotate",
  612. X      "  40 -50 translate",
  613. X!     "  /offset -405 def",
  614. X      "  /xscale 8.75 nweekd div 5.625 div def",
  615. X      "  dayfont findfont 10 scalefont setfont",
  616. X      "  gsave",
  617. X--- 244,250 ----
  618. X      "{",
  619. X      "  90 rotate",
  620. X      "  40 -50 translate",
  621. X!     "  /offset -380 def",
  622. X      "  /xscale 8.75 nweekd div 5.625 div def",
  623. X      "  dayfont findfont 10 scalefont setfont",
  624. X      "  gsave",
  625. X*** printer.c.orig    Wed Mar 27 16:46:21 1991
  626. X--- printer.c    Mon May 13 09:18:26 1991
  627. X***************
  628. X*** 1,5 ****
  629. X  /*
  630. X!  * $Header: printer.c,v 1.1 91/03/27 16:46:20 billr Exp $
  631. X   */
  632. X  /*
  633. X   * printer.c
  634. X--- 1,5 ----
  635. X  /*
  636. X!  * $Header: printer.c,v 1.2 91/05/13 09:18:24 billr Exp $
  637. X   */
  638. X  /*
  639. X   * printer.c
  640. X***************
  641. X*** 228,234 ****
  642. X  print_apts(which, dest)
  643. X  int which, dest;
  644. X  {
  645. X!     int i, gd_rtn, target;
  646. X      FILE *output, *pfp, *popen();
  647. X      char cmd[80], *name, *cuserid(), *mail_subj();
  648. X      struct tm Save;
  649. X--- 228,234 ----
  650. X  print_apts(which, dest)
  651. X  int which, dest;
  652. X  {
  653. X!     int i, gd_rtn, target, ndays;
  654. X      FILE *output, *pfp, *popen();
  655. X      char cmd[80], *name, *cuserid(), *mail_subj();
  656. X      struct tm Save;
  657. X***************
  658. X*** 277,282 ****
  659. X--- 277,285 ----
  660. X                  /* looking at Sun */
  661. X                  current.tm_mday++;
  662. X              fix_current_day();
  663. X+             ndays = nr_weekdays;
  664. X+         } else {
  665. X+             ndays = 7;
  666. X          }
  667. X          if (print_dev == PR_POSTSCRIPT)
  668. X  #ifdef RASTER_ONLY
  669. X***************
  670. X*** 285,291 ****
  671. X              print_psweek(output, (which == PRI_WEEK_XNOTES ? TRUE : FALSE));
  672. X  #endif
  673. X          else
  674. X!             for (i=0;i<nr_weekdays;i++) {
  675. X                  gd_rtn = get_day_appts();
  676. X                  if ((gd_rtn && which == PRI_WEEK) ||
  677. X                      (gd_rtn & ~SOME_MKNOTES && which == PRI_WEEK_XNOTES))
  678. X--- 288,294 ----
  679. X              print_psweek(output, (which == PRI_WEEK_XNOTES ? TRUE : FALSE));
  680. X  #endif
  681. X          else
  682. X!             for (i=0;i<ndays;i++) {
  683. X                  gd_rtn = get_day_appts();
  684. X                  if ((gd_rtn && which == PRI_WEEK) ||
  685. X                      (gd_rtn & ~SOME_MKNOTES && which == PRI_WEEK_XNOTES))
  686. X*** version.c.orig    Wed Mar 27 17:14:59 1991
  687. X--- version.c    Mon May 13 09:18:28 1991
  688. X***************
  689. X*** 1,5 ****
  690. X  /*
  691. X!  * $Header: version.c,v 2.10 91/03/27 17:14:50 billr Exp $
  692. X   */
  693. X  /*
  694. X   * version.c - current version of calentool program
  695. X--- 1,5 ----
  696. X  /*
  697. X!  * $Header: version.c,v 2.11 91/05/13 09:18:27 billr Exp $
  698. X   */
  699. X  /*
  700. X   * version.c - current version of calentool program
  701. X***************
  702. X*** 30,38 ****
  703. X  
  704. X  static char vers[64];
  705. X  static char vers_name[] = "Calendar Tool V2.2";
  706. X! static char vers_date[] = " [3/26/91]";
  707. X  #ifdef TEST
  708. X! static char vers_test[] = "delta";
  709. X  #endif
  710. X  
  711. X  char *
  712. X--- 30,38 ----
  713. X  
  714. X  static char vers[64];
  715. X  static char vers_name[] = "Calendar Tool V2.2";
  716. X! static char vers_date[] = " [5/10/91]";
  717. X  #ifdef TEST
  718. X! static char vers_test[] = "epsilon";
  719. X  #endif
  720. X  
  721. X  char *
  722. X*** ypaint.c.orig    Wed Mar 27 16:46:53 1991
  723. X--- ypaint.c    Mon May 13 09:18:30 1991
  724. X***************
  725. X*** 1,5 ****
  726. X  /*
  727. X!  * $Header: ypaint.c,v 2.5 91/03/27 16:46:51 billr Exp $
  728. X   */
  729. X  /*
  730. X   * ypaint.c
  731. X--- 1,5 ----
  732. X  /*
  733. X!  * $Header: ypaint.c,v 2.6 91/05/13 09:18:29 billr Exp $
  734. X   */
  735. X  /*
  736. X   * ypaint.c
  737. X***************
  738. X*** 66,72 ****
  739. X      print_button(TRUE);
  740. X  
  741. X      /* Which days have appointments? */
  742. X!     for (i=1; i<=dysize(current.tm_year + 1900); i++)
  743. X          busy_today[i] = 0;
  744. X      Save = current;
  745. X      current.tm_mon = JAN;
  746. X--- 66,72 ----
  747. X      print_button(TRUE);
  748. X  
  749. X      /* Which days have appointments? */
  750. X!     for (i=0; i<dysize(current.tm_year + 1900); i++)
  751. X          busy_today[i] = 0;
  752. X      Save = current;
  753. X      current.tm_mon = JAN;
  754. X***************
  755. X*** 177,188 ****
  756. X                  else
  757. X                      busy_today[current.tm_yday]++;
  758. X              }
  759. X!         } else if ((appt.flags & REPEAT) || (appt.flags & EVERY_SOMEDAY)) {
  760. X              /* find 1st appt in this year */
  761. X!             if (appt.flags & RUN)
  762. X!                 runl = appt.runlength;
  763. X!             else
  764. X!                 runl = 1;
  765. X              if (appt.flags & EVERY_SOMEDAY)
  766. X                  find_date(&appt);
  767. X              while (ymd_compare(current, First) < 0 && runl) {
  768. X--- 177,185 ----
  769. X                  else
  770. X                      busy_today[current.tm_yday]++;
  771. X              }
  772. X!         } else if (appt.flags & RUN) {
  773. X              /* find 1st appt in this year */
  774. X!             runl = appt.runlength;
  775. X              if (appt.flags & EVERY_SOMEDAY)
  776. X                  find_date(&appt);
  777. X              while (ymd_compare(current, First) < 0 && runl) {
  778. X*** Makefile.orig    Wed Mar 27 17:01:29 1991
  779. X--- Makefile    Mon May 13 09:18:33 1991
  780. X***************
  781. X*** 1,4 ****
  782. X! # $Header: Makefile,v 2.7 91/03/27 17:01:26 billr Exp $
  783. X  #
  784. X  #C DEFINES (make macro DEFINES):
  785. X  # (These can all be set in ct.h also)
  786. X--- 1,4 ----
  787. X! # $Header: Makefile,v 2.8 91/05/13 09:18:31 billr Exp $
  788. X  #
  789. X  #C DEFINES (make macro DEFINES):
  790. X  # (These can all be set in ct.h also)
  791. X***************
  792. X*** 89,95 ****
  793. X       dates/lives3 dates/lives4 dates/lives5 dates/lives6 dates/lotr\
  794. X       dates/movies dates/music dates/radio dates/sfo dates/space\
  795. X       dates/sports dates/television dates/usa_holiday dates/usa_other\
  796. X!      dates/usa_states dates/witchcraft dates/world
  797. X  SRCS=    calentool.c common.c datelib.o devent.c dpaint.c event.c\
  798. X       expire.c holidays.c init.c moon.c mpaint.c notify.c pcal.c\
  799. X       pcaldw.c printer.c ras2ps.c riseset.c tool.c utils.c\
  800. X--- 89,96 ----
  801. X       dates/lives3 dates/lives4 dates/lives5 dates/lives6 dates/lotr\
  802. X       dates/movies dates/music dates/radio dates/sfo dates/space\
  803. X       dates/sports dates/television dates/usa_holiday dates/usa_other\
  804. X!      dates/usa_states dates/witchcraft dates/world\
  805. X!      dates/events dates/lives
  806. X  SRCS=    calentool.c common.c datelib.o devent.c dpaint.c event.c\
  807. X       expire.c holidays.c init.c moon.c mpaint.c notify.c pcal.c\
  808. X       pcaldw.c printer.c ras2ps.c riseset.c tool.c utils.c\
  809. X*** dates/space.orig    Thu Mar  7 16:21:31 1991
  810. X--- dates/space    Mon May 13 09:36:56 1991
  811. X***************
  812. X*** 1,5 ****
  813. X  # CalenTool V2.2 - nflag=1 range=1,12 - DO NOT REMOVE THIS LINE
  814. X! # $Header: space,v 2.4 91/03/07 16:21:27 billr Exp $
  815. X  # Dates related to events in aviation, astronomy and space exploration
  816. X  # Today in History dates provided by Robert Heckendorn at
  817. X  # Hewlett-Packard in Fort Collins, Colorado.
  818. X--- 1,5 ----
  819. X  # CalenTool V2.2 - nflag=1 range=1,12 - DO NOT REMOVE THIS LINE
  820. X! # $Header: space,v 2.5 91/05/13 09:36:51 billr Exp $
  821. X  # Dates related to events in aviation, astronomy and space exploration
  822. X  # Today in History dates provided by Robert Heckendorn at
  823. X  # Hewlett-Packard in Fort Collins, Colorado.
  824. X***************
  825. X*** 126,132 ****
  826. X  ** 04 19 99 99 00 USSR Salyut 7 space station put into orbit (1982)
  827. X  ** 04 20 99 99 00 American Harold Graham makes first rocket belt flight (1961)
  828. X  ** 04 20 99 99 00 Canadian ANIK A2 became first commercial satellite in orbit (1973)
  829. X- ** 04 20 99 99 00 Korean Airlines flight 707 is forced to crash land in the Soviet Union after begin fired on by a Soviet interceptor (1978)
  830. X  ** 04 20 99 99 00 Soyuz T-8 launched; mission aborted when capsule fails to dock with Salyut station (1983)
  831. X  ** 04 20 99 99 00 The manned lunar module of Apollo 16 landed on the moon (1972)
  832. X  ** 04 21 99 99 00 Apollo 16 Astronauts John W. Young and Charles M. Duke explore the moon's surface (1972)
  833. X--- 126,131 ----
  834. X***************
  835. X*** 313,318 ****
  836. X--- 312,318 ----
  837. X  ** 08 30 99 99 00 Maiden Voyage of Discovery carrying first non-astronaut Charlie Walker (1984)
  838. X  ** 08 31 99 99 00 269 people killed after Korean Airlines 747 shot down by USSR (1983)
  839. X  ** 09 01 99 99 00 Pioneer 11, first craft to fly by Saturn (1979)
  840. X+ ** 09 01 99 99 00 Korean Airlines flight 007 is forced to crash land in the Soviet Union after begin fired on by a Soviet interceptor (1983)
  841. X  ** 09 02 99 99 00 The asteroid Juno discovered (1804)
  842. X  ** 09 03 99 99 00 Viking II lander sets down on Mars (1976)
  843. X  ** 09 04 99 99 00 NASA launches its first Orbital Geophysical Observatory (OGO-1) (1964)
  844. X*** dates/usa_other.orig    Thu Mar  7 16:21:38 1991
  845. X--- dates/usa_other    Mon May 13 09:36:58 1991
  846. X***************
  847. X*** 1,5 ****
  848. X  # CalenTool V2.2 - nflag=1 range=1,12 - DO NOT REMOVE THIS LINE
  849. X! # $Header: usa_other,v 2.3 91/03/07 16:21:37 billr Exp $
  850. X  # Special days file for calentool (rel 2.1); modified from network posting by
  851. X  # RPC Rodgers, UCSF, Nov. 1988
  852. X  # Misc US and Canadian holidays fixed by exact date or as nth mday of month
  853. X--- 1,5 ----
  854. X  # CalenTool V2.2 - nflag=1 range=1,12 - DO NOT REMOVE THIS LINE
  855. X! # $Header: usa_other,v 2.4 91/05/13 09:36:57 billr Exp $
  856. X  # Special days file for calentool (rel 2.1); modified from network posting by
  857. X  # RPC Rodgers, UCSF, Nov. 1988
  858. X  # Misc US and Canadian holidays fixed by exact date or as nth mday of month
  859. X***************
  860. X*** 37,43 ****
  861. X  ** 04 15 99 99 00 Federal Income Tax is Due 
  862. X  ** 04 19 99 99 00 Patriot's Day
  863. X  ** 04 22 99 99 00 Earth Day
  864. X! ** 04 23 99 99 00 National Secretary Day
  865. X  ** 04 Fr 99 99 00 [L] Arbor Day
  866. X  ** 04 Su 99 99 00 [1] <4> Daylight Savings Time Begins (set clocks forward 1 h)
  867. X  ** 05 01 99 99 00 Law Day (declared by Eisenhower)
  868. X--- 37,43 ----
  869. X  ** 04 15 99 99 00 Federal Income Tax is Due 
  870. X  ** 04 19 99 99 00 Patriot's Day
  871. X  ** 04 22 99 99 00 Earth Day
  872. X! ** 04 We 99 99 00 [4] National Secretary Day
  873. X  ** 04 Fr 99 99 00 [L] Arbor Day
  874. X  ** 04 Su 99 99 00 [1] <4> Daylight Savings Time Begins (set clocks forward 1 h)
  875. X  ** 05 01 99 99 00 Law Day (declared by Eisenhower)
  876. X*** dates/world.orig    Thu Mar  7 16:21:46 1991
  877. X--- dates/world    Mon May 13 09:37:02 1991
  878. X***************
  879. X*** 1,5 ****
  880. X  # CalenTool V2.2 - nflag=1 range=1,12 - DO NOT REMOVE THIS LINE
  881. X! # $Header: world,v 2.6 91/03/07 16:21:42 billr Exp $
  882. X  # Special days file for calentool (rel 2.1); modified from network posting by
  883. X  # RPC Rodgers, UCSF, Nov. 1988
  884. X  # Various holidays and special days commemorated around the world
  885. X--- 1,5 ----
  886. X  # CalenTool V2.2 - nflag=1 range=1,12 - DO NOT REMOVE THIS LINE
  887. X! # $Header: world,v 2.7 91/05/13 09:36:58 billr Exp $
  888. X  # Special days file for calentool (rel 2.1); modified from network posting by
  889. X  # RPC Rodgers, UCSF, Nov. 1988
  890. X  # Various holidays and special days commemorated around the world
  891. X***************
  892. X*** 101,107 ****
  893. X  ** 03 27 99 99 00 Armed Forces Day (Burma)
  894. X  ** 03 29 99 99 00 Memorial Day (Madagascar)
  895. X  ** 03 31 99 99 00 National Day (Malta)
  896. X! ** 04 01 99 99 00 Beginning of the financial year (Britan)
  897. X  ** 04 01 99 99 00 Youth Day (Benin)
  898. X  ** 04 02 99 99 00 Malvinas Day (Argentina)
  899. X  ** 04 03 99 99 00 Jimmu Tenno Sai, Demise of the First Emperor (Japan)
  900. X--- 101,107 ----
  901. X  ** 03 27 99 99 00 Armed Forces Day (Burma)
  902. X  ** 03 29 99 99 00 Memorial Day (Madagascar)
  903. X  ** 03 31 99 99 00 National Day (Malta)
  904. X! ** 04 01 99 99 00 Beginning of the financial year (Britain)
  905. X  ** 04 01 99 99 00 Youth Day (Benin)
  906. X  ** 04 02 99 99 00 Malvinas Day (Argentina)
  907. X  ** 04 03 99 99 00 Jimmu Tenno Sai, Demise of the First Emperor (Japan)
  908. X***************
  909. X*** 145,150 ****
  910. X--- 145,151 ----
  911. X  ** 04 30 99 99 00 Sho Konsai, Commemoration for the Departed (Japan)
  912. X  ** 04 30 99 99 00 Queen's Birthday (Netherlands, Netherlands Antilles)
  913. X  ** 04 30 99 99 00 The Workers Day (Uruguay)
  914. X+ ** 05 Mo 99 99 00 [1] Bank Holiday (UK)
  915. X  ** 05 01 99 99 00 Labor Day (many places)
  916. X  ** 05 01 99 00 00 Tag der Arbeit (Germany)
  917. X  ** 05 02 99 99 00 Constitution Day (Japan)
  918. X***************
  919. X*** 156,162 ****
  920. X  ** 05 05 99 99 00 Coronation Day (Thailand)
  921. X  ** 05 05 99 99 00 Independence Day/Battle of Puebla (Mexico)
  922. X  ** 05 05 99 99 00 Liberation Day (Netherlands)
  923. X- ** 05 06 99 99 00 Bank Holiday (UK)
  924. X  ** 05 06 99 99 00 Bataan Day (Philippines)
  925. X  ** 05 08 99 99 00 Buddha's Birthday (South Korea)
  926. X  ** 05 08 99 99 00 Elections for National Assembly (Philippines)
  927. X--- 157,162 ----
  928. X***************
  929. X*** 191,197 ****
  930. X  ** 05 25 99 99 00 Independence Day (Jordan)
  931. X  ** 05 25 99 99 00 Revolution in Sudan (Libyan Arab Republic)
  932. X  ** 05 27 99 99 00 Kaigun Kinenbi, Navy Commemoration Day (Japan)
  933. X- ** 05 27 99 99 00 Bank Holiday (UK)
  934. X  ** 05 28 99 99 00 Mothers Day (Central African Republic)
  935. X  ** 05 31 99 99 00 Pya Martyrs Day (Togo)
  936. X  ** 05 31 99 99 00 Republic Day (South Africa)
  937. X--- 191,196 ----
  938. X***************
  939. X*** 309,315 ****
  940. X  ** 08 03 99 99 00 Massacre du Pidjiguiti (Guinea-Bissau)
  941. X  ** 08 03 99 99 00 Memorial Day of Archbishop Makarios (Cyprus)
  942. X  ** 08 04 99 99 00 Freedom Day (Guyana)
  943. X! ** 08 05 99 99 00 Bank Holiday (Scotland, Northern Ireland)
  944. X  ** 08 06 99 99 00 Bank Holiday (Australia, Fiji, Iceland)
  945. X  ** 08 06 99 99 00 Caricom (Barbados)
  946. X  ** 08 06 99 99 00 Emancipation Day (Bahamas)
  947. X--- 308,314 ----
  948. X  ** 08 03 99 99 00 Massacre du Pidjiguiti (Guinea-Bissau)
  949. X  ** 08 03 99 99 00 Memorial Day of Archbishop Makarios (Cyprus)
  950. X  ** 08 04 99 99 00 Freedom Day (Guyana)
  951. X! ** 08 Mo 99 99 00 [1] Bank Holiday (Scotland, Northern Ireland)
  952. X  ** 08 06 99 99 00 Bank Holiday (Australia, Fiji, Iceland)
  953. X  ** 08 06 99 99 00 Caricom (Barbados)
  954. X  ** 08 06 99 99 00 Emancipation Day (Bahamas)
  955. X***************
  956. X*** 340,346 ****
  957. X  ** 08 24 99 99 00 National Flag Day (Liberia)
  958. X  ** 08 25 99 99 00 Constitution Day (Paragual)
  959. X  ** 08 25 99 99 00 Independence Day (Uruguay)
  960. X! ** 08 26 99 99 00 Bank Holiday (England, Wales)
  961. X  ** 08 27 99 99 00 Liberation Day (Hong Kong)
  962. X  ** 08 28 99 99 00 Heroes Day (Philippines)
  963. X  ** 08 30 99 99 00 St. Rose of Lima (Peru)
  964. X--- 339,345 ----
  965. X  ** 08 24 99 99 00 National Flag Day (Liberia)
  966. X  ** 08 25 99 99 00 Constitution Day (Paragual)
  967. X  ** 08 25 99 99 00 Independence Day (Uruguay)
  968. X! ** 08 Mo 99 99 00 [L] Bank Holiday (England, Wales)
  969. X  ** 08 27 99 99 00 Liberation Day (Hong Kong)
  970. X  ** 08 28 99 99 00 Heroes Day (Philippines)
  971. X  ** 08 30 99 99 00 St. Rose of Lima (Peru)
  972. X*** dates/celtic.orig    Thu Mar  7 16:21:05 1991
  973. X--- dates/celtic    Mon May 13 09:38:26 1991
  974. X***************
  975. X*** 1,10 ****
  976. X  # CalenTool V2.2 - nflag=1 range=2,11 - DO NOT REMOVE THIS LINE
  977. X! # $Header: celtic,v 2.3 91/03/07 16:21:04 billr Exp $
  978. X  # Special days file for calentool (rel 2.1); modified from network posting by
  979. X  # RPC Rodgers, UCSF, Nov. 1988
  980. X  # Dates of interest to Celts
  981. X  #
  982. X! ** 02 01 99 99 00 Oimelc (Winter purification & approach of spring)
  983. X  ** 05 01 99 99 00 Beltaine (Feast of sun god Bel)
  984. X! ** 08 01 99 99 00 Lughnasa (Feast of god Lugh, 30 day Celtic feast centers on this day)
  985. X! ** 11 01 99 99 00 Samhain (beginning of Celtic year, most important holiday)
  986. X--- 1,10 ----
  987. X  # CalenTool V2.2 - nflag=1 range=2,11 - DO NOT REMOVE THIS LINE
  988. X! # $Header: celtic,v 2.4 91/05/13 09:38:16 billr Exp $
  989. X  # Special days file for calentool (rel 2.1); modified from network posting by
  990. X  # RPC Rodgers, UCSF, Nov. 1988
  991. X  # Dates of interest to Celts
  992. X  #
  993. X! ** 02 02 99 99 00 Oimelc (Winter purification & approach of spring)
  994. X  ** 05 01 99 99 00 Beltaine (Feast of sun god Bel)
  995. X! ** 08 02 99 99 00 Lughnasa (Feast of god Lugh, 30 day Celtic feast centers on this day)
  996. X! ** 10 31 99 99 00 Samhain (beginning of Celtic year, most important holiday)
  997. END_OF_FILE
  998. if test 31456 -ne `wc -c <'patches01'`; then
  999.     echo shar: \"'patches01'\" unpacked with wrong size!
  1000. fi
  1001. # end of 'patches01'
  1002. fi
  1003. echo shar: End of shell archive.
  1004. exit 0
  1005.  
  1006. exit 0 # Just in case...
  1007. -- 
  1008. Kent Landfield                   INTERNET: kent@sparky.IMD.Sterling.COM
  1009. Sterling Software, IMD           UUCP:     uunet!sparky!kent
  1010. Phone:    (402) 291-8300         FAX:      (402) 291-4362
  1011. Please send comp.sources.misc-related mail to kent@uunet.uu.net.
  1012.